#pragma once

#include "vec3f.h"

struct plane3f final
{
	static const size_t arity = 3;

	bool operator==(const plane3f rhs) = delete;

	vec3f normal;
	float D;
};

inline plane3f plane3fc(const vec3f normal, const float D)
{
	plane3f plane = { normal, D };
	return plane;
}